package com.xh.core.event;

import lombok.Data;
import org.springframework.context.ApplicationEvent;

/*
 * @Author daiwei
 * @Description 导出excel事件监听
 * @Date 2018/8/13 07:16
 **/
@Data
public class ConvertFileEvent extends ApplicationEvent {

    private String sourceUrl;

    /**
     * 构造方法
     * @param source
     * @param sourceUrl
     */
    public ConvertFileEvent(Object source, String sourceUrl) {
        super(source);
        this.sourceUrl = sourceUrl;
    }
}
